//
//  QuickRecharTableViewCell.m
//  PlayerWorld
//
//  Created by 汪的一声就哭了！ on 16/7/5.
//  Copyright © 2016年 刘成. All rights reserved.
//

#import "QuickRecharTableViewCell.h"

@implementation QuickRecharTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.label = [[UILabel alloc] init];
        [self.contentView addSubview:self.label];
        self.label.text = @"充值金额";
        
        self.textField = [[UITextField alloc] init];
        [self.contentView addSubview:self.textField];
        self.textField.placeholder = @"请输入金额";
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.label.frame = CGRectMake(10, 0, 80, self.contentView.bounds.size.height);
    self.textField.frame = CGRectMake(100, 0, self.contentView.bounds.size.width-110, self.bounds.size.height);
}
@end
